
package com.zsrt.jmj.teacher.entity;

import java.util.List;

import com.zsrt.jmj.children.entity.ChildrenEntity;


public class TeacherEntity {

	/**
	 * 老师的ID
	 */
	private int id;
	/**
	 * 老师的名称
	 */
	private String teacherName;
	/**
	 * 老师的工资
	 */
	private double salary;
	/**
	 * 老师的职称ID
	 */
	private int positional;

    //以下非数据库字段
	private List<ChildrenEntity> positionList;
	/**
	 * 老师的职称
	 */
	private String positionName;
	
	public String getPositionName() {
		return positionName;
	}

	public void setPositionName(String positionName) {
		this.positionName = positionName;
	}

	public List<ChildrenEntity> getPositionList() {
		return positionList;
	}

	public void setPositionList(List<ChildrenEntity> positionList) {
		this.positionList = positionList;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getTeacherName() {
		return teacherName;
	}

	public void setTeacherName(String teacherName) {
		this.teacherName = teacherName;
	}

	public double getSalary() {
		return salary;
	}

	public void setSalary(double salary) {
		this.salary = salary;
	}

	public int getPositional() {
		return positional;
	}

	public void setPositional(int positional) {
		this.positional = positional;
	}
	
	
}
